GIT_SHA1 points to the sha1 of upstream.
authorSandro Knauß <hefee@debian.org>
Tue, 30 Jul 2024 10:35:29 +0000 (12:35 +0200)
committerRaspbian forward porter <root@raspbian.org>
Fri, 5 Sep 2025 05:53:13 +0000 (05:53 +0000)
Origin: Debian
Forwarded: not-needed
Last-Update: 2024-07-30

Gbp-Pq: Name 0004-GIT_SHA1-points-to-the-sha1-of-upstream.patch

CMakeLists.txt

index 140ffa8ec376e346d58fba4bab89962bf38ef56a..8cf4499d8b5bcc25802a645000db56beee0b90e8 100644 (file)
@@ -112,9 +112,8 @@ include(GNUInstallDirs)
 include(DefineInstallationPaths)
 include(GenerateExportHeader)
 
-include(GetGitRevisionDescription)
-
-get_git_head_revision(GIT_REFSPEC GIT_SHA1)
+# On Debian we always have use a released version
+set(GIT_SHA1 "GITDIR-NOTFOUND")
 
 add_definitions(
     -DQT_DISABLE_DEPRECATED_BEFORE=0x051200